/*
 *  main.cpp
 *  framework
 *
 *  Created by gerhard gubler on 17.11.09.
 *  Copyright 2009 md80.ch. All rights reserved.
 *
 */

#include <iostream>
#include <string>
#include "lexer.h"
#include "opengl_main.h"
#include "boost/any.hpp"
#include <boost/thread.hpp>

using std::string;

int main (int argc, char * const argv[]) {
	lexer mylex;
	opengl_main myopgl;

	mylex.setcommentchars((string)"#");
	mylex.setdelimiter((string)"().:");
	mylex.setMultiLineCommentBegin((string)"/*");
	mylex.setMultiLineCommentEnd((string)"*/");
	mylex.lex((string)"(Hello) world my name is #Gery \n.Welcome to :Gery's (World)   /* MUTLI LINE COMMENT */");
	
	while (mylex.the_end == false)
	{
		++mylex;
		std::cout << *mylex << std::endl;
	}

	myopgl.get_going();
    
    return 0;
}
